const path = require("path");
const defaultBasis = require('./src/config/basis')

const name = defaultBasis.title || 'element-ui-template'

function resolve(dir) {
    return path.join(__dirname, dir)
}

module.exports ={

    publicPath : '/',
    outputDir : 'dist',

    devServer : {
        open : 'true',
        inline : true
    },


    configureWebpack :{
        name : name,
        resolve: {
            alias: {
                '@': resolve('src')
            }
        }
    }
}